package com.dangz.dans.response;
/**
 * 通用公共服务码
 */
public enum CodeEnum {
	// 成功类响应码
	// 查询本地库成功
	SUCCESS_LOCAL("000", "业务处理成功，有数据"),
	SUCCESS_SERVICE_LOCAL("000", "业务处理成功"),
	SUCCESS_NO_DATA_LOCAL("001", "请求成功,无数据"),
	SUCCESS_UPDATE("002", "保存成功"),
	SUCCESS_REFRESH_CACHE_UPDATE("003", "刷新缓存成功"),
	SUCCESS_DELETE("004", "删除成功"),


	FAIL_SERVICE_LOCAL("000", "业务处理失败"),

	// 查询第三方成功
	SUCCESS_THIRD("010", "业务处理成功，有数据"),
	SUCCESS_NO_DATA_THIRD("011", "请求成功,无数据"),

	REFRESH_CACHE_CODE_INFO("codeInfo","码值刷新缓存"),

	CREATE_CLIENT_AUTHORIZATION("userInfo","获得用户信息"),

	SYS_INTERFACE_INFO("intfcInfo","接口权限刷新缓存");


	private String code;
	private String info;

	CodeEnum(String code, String info) {
		this.code = code;
		this.info = info;
	}

	public String getCode() {
		return code;
	}

	public String getInfo() {
		return info;
	}
}
